What is the `shadow` group used for?
Posted
by Shtééf
on Server Fault
See other posts from Server Fault
or by Shtééf
Published on 2010-04-16T20:36:59Z
Indexed on
2010/04/16
20:43 UTC
Read the original article
Hit count: 267
On my Ubuntu 9.10 system, there's a shadow system group. There does not appear to be any user assigned to this group at all. The only files that I can find belonging to this group are /etc/shadow and /etc/gshadow.
I'm aware that the purpose of these files is to store the passwords separately, out of reach from regular users who still might want to access passwd for other reasons.
But what is the purpose of the shadow group?
The reason I'm curious about this, is because I'm thinking about configuring nsswitch.conf to store it elsewhere, and would like to know if anything is actually trying to access the shadow database using shadow group credentials.
© Server Fault or respective owner